Folium demo
InĀ [1]:
Copied!
import skiba.foliumcode as skiba
import skiba.foliumcode as skiba
InĀ [2]:
Copied!
m = skiba.Map(center=[37.5, -95], zoom=4)
url = "https://data-usfs.hub.arcgis.com/api/download/v1/items/4a48c9a7ad3144f7890ff85d5dd76f1e/geojson?layers=2"
m.add_geojson(url)
m.add_split_map(left="Esri.WorldImagery", right="openstreetmap")
m.add_layer_control()
m
m = skiba.Map(center=[37.5, -95], zoom=4)
url = "https://data-usfs.hub.arcgis.com/api/download/v1/items/4a48c9a7ad3144f7890ff85d5dd76f1e/geojson?layers=2"
m.add_geojson(url)
m.add_split_map(left="Esri.WorldImagery", right="openstreetmap")
m.add_layer_control()
m
Out[2]:
Make this Notebook Trusted to load map: File -> Trust Notebook
InĀ [3]:
Copied!
m2 = skiba.Map(center=[-18.066730, 31.218350], zoom=4)
url = "https://github.com/opengeos/data/releases/download/raster/Libya-2023-07-01.tif"
url2 = "https://github.com/opengeos/data/releases/download/raster/Libya-2023-09-13.tif"
m2.add_split_map(url, url2)
m2
m2 = skiba.Map(center=[-18.066730, 31.218350], zoom=4)
url = "https://github.com/opengeos/data/releases/download/raster/Libya-2023-07-01.tif"
url2 = "https://github.com/opengeos/data/releases/download/raster/Libya-2023-09-13.tif"
m2.add_split_map(url, url2)
m2
Out[3]:
Make this Notebook Trusted to load map: File -> Trust Notebook